/*
 * Static.h
 *
 *  Created on: 2013. 8. 27.
 *      Author: jjaehuny
 */

#ifndef PROJECTZ_NRESOURCE_STATIC_H_
#define PROJECTZ_NRESOURCE_STATIC_H_

#include "../NUtil/Single.h"

#include "QuestResource.h"
#include "DungeonResource.h"
#include "BalanceResource.h"
#include "ValidResource.h"
#include "CommonResource.h"
#include "WeeklyRewardResource.h"
#include "FriendRewardResource.h"
#include "SocialRewardResource.h"
#include "FriendshipBoxResource.h"
#include "PointBuffResource.h"
#include "DailyRewardResource.h"
#include "PetRewardResource.h"
#include "EventTimeResource.h"
#include "ItemRefineResource.h"
#include "ItemResource.h"
#include "MatchingResource.h"
#include "MessageResource.h"
#include "DungeonEventResource.h"
#include "AIVariationResource.h"
#include "VCResource.h"
#include "ProductResource.h"
#include "ChargeItemResource.h"
#include "FairyGachyaResource.h"
#include "BattlePetGachyaResource.h"
#include "BattlePetResource.h"
#include "DungeonRewardResource.h"
#include "PVPRewardResource.h"
#include "PointResource.h"
#include "ItemEvolutionResource.h"
#include "DummyUserResource.h"
#include "StringMatch.h"
#include "Circle.h"
#include "AvatarAbiltyResource.h"
#include "LevelupRewardResource.h"
#include "MailMessageResource.h"
#include "VersionResource.h"
#include "WeatherResource.h"
#include "ExceptionMessage.h"
#include "AllowUserResource.h"
#include "ConnectEventResource.h"
#include "WorldBoss.h"
#include "WorldBossReward.h"
#include "BuffTimeResource.h"
#include "DLC.h"
#include "BattleMatchingResource.h"
#include "StaminaResource.h"
#include "MaxGainGoldResource.h"
#include "MonsterResource.h"
#include "UltimateEvolutionResource.h"
#include "UltimateEvolutionRateResource.h"
#include "FairyRebirthQualityResource.h"
#include "DungeonEnterLimitLevel.h"
#include "PackageItemResource.h"
#include "UpStoneGachyaResource.h"
#include "ItemRoutingTypeResource.h"
#include "ItemRoutingValueResource.h"
#include "ItemRoutingRateResource.h"
#include "UpStoneCombineResource.h"
#include "MonthChargingEventResource.h"
#include "VIPResource.h"
#include "LevelupExpResource.h"
#include "ContentsOpenResource.h"
#include "ItemMagicRefineResource.h"
#include "DailyMissionResource.h"
#include "SetItemResource.h"
#include "FairyCombineResource.h"
#include "FairyEvolutionRateResource.h"
#include "PvpPkBuffPositionResource.h"

namespace ProjectZ { namespace NResource {

class Static : public NUtil::Single<Static>
{
public:
	enum class E_TYPE {
		_MIN_ = 1,
		STRINGMATCH,
		QUEST,
		DUNGEON,
		BALANCE,
		VALID,
		COMMON,
		WEEKLY_REWARD,
		FRIEND_REWARD,
		SOCIAL_REWARD,
		FRIENDSHIP_BOX,
		POINT_BUFF,
		DAILY_REWARD,
		PET_REWARD,
		EVENT_TIME,
		ITEM_REFINE,
		ITEM,
		MATCHING,
		MESSAGE,
		DUNGEON_EVENT,
		AI_VARIATION,
		VC_REF,
		PRODUCT,
		CHARGE_ITEM,
		FAIRY,
		BATTLE_PET,
		BATTLE_PET_GACHYA,
		DUNGEON_REWARD,
		PVP_REWARD,
		POINT_RESOURCE,
		ITEM_EVOLUTION,
		DUMMY_USER,
		CIRCLE,
		AVATAR_ABLITY,
		LEVELUP_REWARD,
		MAIL_MESSAGE,
		VERSION_RESOURCE,
		WEATHER_RESOURCE,
		EXCEPTION_MESSAGE,
		ALLOW_USER_RESOURCE,
		CONNECT_EVENT,
		WORLDBOSS,
		WORLDBOSSREWARD,
		BUFF_TIME,
		DLC,
		BATTLE_MATCHING,
		STAMINA_RESOURCE,
		MAX_GAIN_GOLD_RESOURCE,
		MONSTER_RESOURCE,
		ULTIMATE_EVOLUTION_RESOURCE,
		ULTIMATE_EVOLUTION_RATE_RESOURCE,
		FAIRY_REBIRTH_QUALITY_RESOURCE,
		DUNGEONENTERLIMITLEVEL,
		PACKAGE_ITEM_RESOURCE,
		UPSTONE_GACHYA_RESOURCE,
		ITEM_ROUTING_TYPE_RESOURCE,
		ITEM_ROUTING_VALUE_RESOURCE,
		ITEM_ROUTING_RATE_RESOURCE,
		UPSTONE_COMBINE_RESOURCE,
		MONTH_CHARGING_EVENT_RESOURCE,
		VIP_RESOURCE,
		LEVELUP_EXP_RESOURCE,
		CONTENTSOPENRESOURCE,
		MAGIC_REFINE_RESOURCE,
		DAILY_MISSION_RESOURCE,
		SETITEM_RESOURCE,
		FAIRY_COMBINE_RESOURCE,
		FAIRY_EVOLUTION_RATE_RESOURCE,
		PVP_PK_BUFF_POSITION_RESOURCE,

		_ALL_,
		_MAX_,
	};

public:
	Static()
	{
		_stringMatch				= new StringMatch;
		_questResource				= new QuestResource;
		_dungeonResource			= new DungeonResource;
		_balanceResource			= new BalanceResource;
		_validResource				= new ValidResource;
		_commonResource				= new CommonResource;
		_weeklyRewardResource		= new WeeklyRewardResource;
//		_friendRewardResource		= new FriendRewardResource;
		_socialRewardResource		= new SocialRewardResource;
		_friendshipResource			= new FriendshipBoxResource;
//		_pointBuffResource			= new PointBuffResource;
		_dailyRewardResource		= new DailyRewardResource;
		_petRewardResource			= new PetRewardResource;
		_eventTimeResource			= new EventTimeResource;
		_itemRefineResource			= new ItemRefineResource;
		_itemResource				= new ItemResource;
		_matchingResource			= new MatchingResource;
		_messageResource			= new MessageResource;
		_dungeonEventResource		= new DungeonEventResource;
		_aiVariationResource		= new AIVariationResource;
		_vcResource					= new VCResource;
		_productResource			= new ProductResource;
		_chargeItemResource			= new ChargeItemResource;
		_fairyResource				= new FairyGachyaResource;
		_battlepetGachyaResource	= new BattlePetGachyaResource;
		_battlepetResource			= new BattlePetResource;
		_dungeonRewardResource		= new DungeonRewardResource;
		_pvpRewardResource			= new PVPRewardResource;
		_pointResource				= new PointResource;
		_itemEvolutionResource		= new ItemEvolutionResource;
		_dummyUserResource			= new DummyUserResource;
		_circle						= new Circle;
		_avatarResource				= new AvatarAblityResource;
		_levelupResource			= new LevelupRewardResource;
		_mailMessageResource		= new MailMessageResource;
		_versionResource			= new VersionResource;
		_weatherResource			= new WeatherResource;
		_exceptionMessage			= new ExceptionMessage;
		_allowUserResource			= new AllowUserResource;
		_connectEventResource		= new ConnectEventResource;
		_pWorldBoss 				= new WorldBoss;
		_pWorldBossReward 			= new WorldBossReward;
		_buffTimeResource			= new BuffTimeResource;
		_pDLC 						= new DLC;
		_battleMatchingResource		= new BattleMatchingResource;
		_staminaResource			= new StaminaResource;
		_pMaxGainGoldResource		= new MaxGainGoldResource;
		_pMonsterResource			= new MonsterResource;
		_pUltimateResource			= new UltimateEvolutionResource;
		_pUltimateRateResource		= new UltimateEvolutionRateResource;
		_pRebirthQualityResource	= new FairyRebirthQualityResource;
		_pDungeonEnterLimitLevel	= new DungeonEnterLimitLevel;
		_pPackageItemResource		= new PackageItemResource;
		_pUpStoneGachyaResource		= new UpStoneGachyaResource;
		_pItemRoutingTypeResource	= new ItemRoutingTypeResource;
		_pItemRoutingValueResource	= new ItemRoutingValueResource;
		_pItemRoutingRateResource	= new ItemRoutingRateResource;
		_pUpStoneCombineResource	= new UpStoneCombineResource;
		_pMonthChargingResource		= new MonthChargingEventResource;
		_pVIPResource				= new VIPResource;
		_pLevelupExpResource		= new LevelupExpResource;
		_pContentsOpenResource		= new ContentsOpenResource;
		_pItemMagicRefineResource	= new ItemMagicRefineResource;
		_pDailyMissionResource		= new DailyMissionResource;
		_pSetItemResource			= new SetItemResource;
		_pFairyCombineResource		= new FairyCombineResource;
		_pFairyEvolutionRateResource	= new FairyEvolutionRateResource;
		_pPvpPkBuffPositionResource	= new PvpPkBuffPositionResource;
	}

	~Static()
	{
		delete _pContentsOpenResource;
		delete _pDungeonEnterLimitLevel;
		delete _pMaxGainGoldResource;
		delete _pDLC;
		delete _pWorldBossReward;
		delete _pWorldBoss;
		delete _exceptionMessage;
		delete _circle;
		delete _questResource;
		delete _dungeonResource;
		delete _balanceResource;
		delete _validResource;
		delete _commonResource;
		delete _weeklyRewardResource;
//		delete _friendRewardResource;
		delete _socialRewardResource;
		delete _friendshipResource;
//		delete _pointBuffResource;
		delete _dailyRewardResource;
		delete _petRewardResource;
		delete _eventTimeResource;
		delete _itemResource;
		delete _itemRefineResource;
		delete _matchingResource;
		delete _messageResource;
		delete _dungeonEventResource;
		delete _aiVariationResource;
		delete _vcResource;
		delete _productResource;
		delete _chargeItemResource;
		delete _fairyResource;
		delete _battlepetGachyaResource;
		delete _battlepetResource;
		delete _dungeonRewardResource;
		delete _pvpRewardResource;
		delete _pointResource;
		delete _itemEvolutionResource;
		delete _dummyUserResource;
		delete _stringMatch;
		delete _avatarResource;
		delete _levelupResource;
		delete _mailMessageResource;
		delete _versionResource;
		delete _weatherResource;
		delete _allowUserResource;
		delete _connectEventResource;
		delete _buffTimeResource;
		delete _battleMatchingResource;
		delete _staminaResource;
		delete _pMonsterResource;
		delete _pUltimateResource;
		delete _pUltimateRateResource;
		delete _pRebirthQualityResource;
		delete _pPackageItemResource;
		delete _pUpStoneGachyaResource;
		delete _pItemRoutingTypeResource;
		delete _pItemRoutingValueResource;
		delete _pItemRoutingRateResource;
		delete _pUpStoneCombineResource;
		delete _pMonthChargingResource;
		delete _pVIPResource;
		delete _pLevelupExpResource;
		delete _pItemMagicRefineResource;
		delete _pDailyMissionResource;
		delete _pSetItemResource;
		delete _pFairyCombineResource;
		delete _pFairyEvolutionRateResource;
		delete _pPvpPkBuffPositionResource;
	}

public:
	bool LoadResource(E_TYPE eType) 	{

		bool bResult = true;

		switch (eType)
		{
		case E_TYPE::_ALL_:
			if (false == _stringMatch->LoadResource()) {
				PROCESSLOG("false == _stringMatch->LoadResource()");
				return false;
			}

			if (false == _itemResource->LoadResource()) {
				PROCESSLOG("false == _itemResource->LoadResource()");
				return false;
			}

			if (false == _questResource->LoadResource()) {
				PROCESSLOG("false == _questResource->LoadResource()");
				return false;
			}

			if (false == _dungeonResource->LoadResource()) {
				PROCESSLOG("false == _dungeonResource->LoadResource()");
				return false;
			}

			if (false == _balanceResource->LoadResource()) {
				PROCESSLOG("false == _balanceResource->LoadResource()");
				return false;
			}

			if (false == _validResource->LoadResource()) {
				PROCESSLOG("false == _validResource->LoadResource()");
				return false;
			}

			if (false == _commonResource->LoadResource()) {
				PROCESSLOG("false == _commonResource->LoadResource()");
				return false;
			}

			if (false == _weeklyRewardResource->LoadResource()) {
				PROCESSLOG("false == _weeklyRewardResource->LoadResource()");
				return false;
			}

//			if (false == _friendRewardResource->LoadResource()) {
//				PROCESSLOG("false == _friendRewardResource->LoadResource()");
//				return false;
//			}

			if (false == _socialRewardResource->LoadResource()) {
				PROCESSLOG("false == _socialRewardResource->LoadResource()");
				return false;
			}

			if (false == _friendshipResource->LoadResource()) {
				PROCESSLOG("false == _friendshipResource->LoadResource()");
				return false;
			}

//			if (false == _pointBuffResource->LoadResource()) {
//				PROCESSLOG("false == _pointBuffResource->LoadResource()");
//				return false;
//			}

			if (false == _dailyRewardResource->LoadResource()) {
				PROCESSLOG("false == _dailyRewardResource->LoadResource()");
				return false;
			}

			if (false == _petRewardResource->LoadResource()) {
				PROCESSLOG("false == _petRewardResource->LoadResource()");
				return false;
			}

			if (false == _eventTimeResource->LoadResource()) {
				PROCESSLOG("false == _eventTimeResource->LoadResource()");
				return false;
			}

			if (false == _itemRefineResource->LoadResource()) {
				PROCESSLOG("false == _itemRefineResource->LoadResource()");
				return false;
			}

			if (false == _matchingResource->LoadResource()) {
				PROCESSLOG("false == _matchingResource->LoadResource()");
				return false;
			}

			if (false == _messageResource->LoadResource()) {
				PROCESSLOG("false == _messageResource->LoadResource()");
				return false;
			}

			if (false == _dungeonEventResource->LoadResource()) {
				PROCESSLOG("false == _dungeonEventResource->LoadResource()");
				return false;
			}

			if (false == _aiVariationResource->LoadResource()) {
				PROCESSLOG("false == _aiVariationResource->LoadResource()");
				return false;
			}

			if (false == _vcResource->LoadResource()) {
				PROCESSLOG("false == _vcResource->LoadResource()");
				return false;
			}

			if (false == _productResource->LoadResource()) {
				PROCESSLOG("false == _productResource->LoadResource()");
				return false;
			}

			if (false == _chargeItemResource->LoadResource()) {
				PROCESSLOG("false == _chargeItemResource->LoadResource()");
				return false;
			}

			if (false == _fairyResource->LoadResource()) {
				PROCESSLOG("false == _fairyResource->LoadResource()");
				return false;
			}

			if (false == _battlepetGachyaResource->LoadResource()) {
				PROCESSLOG("false == _battlepetGachyaResource->LoadResource()");
				return false;
			}

			if (false == _battlepetResource->LoadResource()) {
				PROCESSLOG("false == _battlepetResource->LoadResource()");
				return false;
			}

			if (false == _dungeonRewardResource->LoadResource()) {
				PROCESSLOG("false == _dungeonRewardResource->LoadResource()");
				return false;
			}

			if (false == _pvpRewardResource->LoadResource()) {
				PROCESSLOG("false == _pvpRewardResource->LoadResource()");
				return false;
			}

			if (false == _pointResource->LoadResource()) {
				PROCESSLOG("false == _pointResource->LoadResource()");
				return false;
			}

			if (false == _itemEvolutionResource->LoadResource()) {
				PROCESSLOG("false == _itemEvolutionResource->LoadResource()");
				return false;
			}

			if (false == _dummyUserResource->LoadResource()) {
				PROCESSLOG("false == _dummyUserResource->LoadResource()");
				return false;
			}

			if (false == _circle->LoadResource()) {
				PROCESSLOG("false == _circle->LoadResource()");
				return false;
			}

			if (false == _avatarResource->LoadResource()) {
				PROCESSLOG("false == _avatarResource->LoadResource()");
				return false;
			}

			if (false == _levelupResource->LoadResource()) {
				PROCESSLOG("false == _levelupResource->LoadResource()");
				return false;
			}

			if (false == _mailMessageResource->LoadResource()) {
				PROCESSLOG("false == _mailMessageResource->LoadResource()");
				return false;
			}

			if (false == _versionResource->LoadResource()) {
				PROCESSLOG("false == _versionResource->LoadResource()");
				return false;
			}

			if (false == _weatherResource->LoadResource()) {
				PROCESSLOG("false == _weatherResource->LoadResource()");
				return false;
			}

			if (false == _exceptionMessage->LoadResource()) {
				PROCESSLOG("false == _exceptionMessage->LoadResource()");
				return false;
			}

			if (false == _allowUserResource->LoadResource()) {
				PROCESSLOG("false == _allowUserResource->LoadResource()");
				return false;
			}

			if (false == _connectEventResource->LoadResource()) {
				PROCESSLOG("false == _connectEventResource->LoadResource()");
				return false;
			}

			if (false == _pWorldBoss->LoadResource()) {
				PROCESSLOG("false == _pWorldBoss->LoadResource()");
				return false;
			}

			if (false == _pWorldBossReward->LoadResource()) {
				PROCESSLOG("false == _pWorldBossReward->LoadResource()");
				return false;
			}

			if (false == _buffTimeResource->LoadResource()) {
				PROCESSLOG("false == _buffTimeResource->LoadResource()");
				return false;
			}

			if (false == _pDLC->LoadResource()) {
				PROCESSLOG("false == _pDLC->LoadResource()");
				return false;
			}

			if (false == _battleMatchingResource->LoadResource()) {
				PROCESSLOG("false == _battleMatchingResource->LoadResource()");
				return false;
			}

			if (false == _staminaResource->LoadResource()) {
				PROCESSLOG("false == _staminaResource->LoadResource()");
				return false;
			}
			
			if (false == _pMaxGainGoldResource->LoadResource()) {
				PROCESSLOG("false == _pMaxGainGoldResource->LoadResource()");
				return false;
			}

			if (false == _pMonsterResource->LoadResource()) {
				PROCESSLOG("false == _pMonsterResource->LoadResource()");
				return false;
			}

			if (false == _pUltimateResource->LoadResource()) {
				PROCESSLOG("false == _pUltimateResource->LoadResource()");
				return false;
			}

			if (false == _pUltimateRateResource->LoadResource()) {
				PROCESSLOG("false == _pUltimateRateResource->LoadResource()");
				return false;
			}

			if (false == _pRebirthQualityResource->LoadResource()) {
				PROCESSLOG("false == _pFairyRebirthResource->LoadResource()");
				return false;
			}

			if (false == _pDungeonEnterLimitLevel->LoadResource())
			{
				PROCESSLOG("false == _pDungeonEnterLimitLevel->LoadResource()");
				return false;
			}
			
			if (false == _pPackageItemResource->LoadResource())
			{
				PROCESSLOG("false == _pPackageItemResource->LoadResource()");
				return false;
			}

			if (false == _pUpStoneGachyaResource->LoadResource()) {
				PROCESSLOG("false == _pUpStoneGachyaResource->LoadResource()");
				return false;
			}

			if (false == _pItemRoutingTypeResource->LoadResource()) {
				PROCESSLOG("false == _pItemRoutingTypeResource->LoadResource()");
				return false;
			}

			if (false == _pItemRoutingValueResource->LoadResource()) {
				PROCESSLOG("false == _pItemRoutingValueResource->LoadResource()");
				return false;
			}

			if (false == _pItemRoutingRateResource->LoadResource()) {
				PROCESSLOG("false == _pItemRoutingRateResource->LoadResource()");
				return false;
			}

			if (false == _pUpStoneCombineResource->LoadResource()) {
				PROCESSLOG("false == _pUpStoneCombineResource->LoadResource()");
				return false;
			}

			if (false == _pMonthChargingResource->LoadResource()) {
				PROCESSLOG("false == _pMonthChargingResource->LoadResource()");
				return false;
			}
			
			if (false == _pVIPResource->LoadResource()) {
				PROCESSLOG("false == _pVIPResource->LoadResource()");
				return false;
			}

			if (false == _pLevelupExpResource->LoadResource()) {
				PROCESSLOG("false == _pLevelupExpResource->LoadResource()");
				return false;
			}

			if (false == _pContentsOpenResource->LoadResource()) {
				PROCESSLOG("false == _pContentsOpenResource->LoadResource()");
				return false;
			}

			if (false == _pItemMagicRefineResource->LoadResource()) {
				PROCESSLOG("false == _pItemMagicRefineResource->LoadResource()");
				return false;
			}

			if (false == _pDailyMissionResource->LoadResource()) {
				PROCESSLOG("false == _pDailyMissionResource->LoadResource()");
				return false;
			}

			if (false == _pSetItemResource->LoadResource()) {
				PROCESSLOG("false == _pSetItemResource->LoadResource()");
				return false;
			}

			if (false == _pFairyCombineResource->LoadResource()) {
				PROCESSLOG("false == _pFairyCombineResource->LoadResource()");
				return false;
			}

			if (false == _pFairyEvolutionRateResource->LoadResource()) {
				PROCESSLOG("false == _pFairyEvolutionRateResource->LoadResource()");
				return false;
			}

			if (false == _pPvpPkBuffPositionResource->LoadResource()) {
				PROCESSLOG("false == _pPvpPkBuffPositionResource->LoadResource()");
				return false;
			}

			return true;

		case E_TYPE::STRINGMATCH:
			return _stringMatch->LoadResource();

		case E_TYPE::QUEST:
			return _questResource->LoadResource();

		case E_TYPE::DUNGEON:
			return _dungeonResource->LoadResource();

		case E_TYPE::BALANCE:
			return _balanceResource->LoadResource();

		case E_TYPE::VALID:
			return _validResource->LoadResource();

		case E_TYPE::COMMON:
			return _commonResource->LoadResource();

		case E_TYPE::WEEKLY_REWARD:
			return _weeklyRewardResource->LoadResource();

//		case E_TYPE::FRIEND_REWARD:
//			return _friendRewardResource->LoadResource();

		case E_TYPE::SOCIAL_REWARD:
			return _socialRewardResource->LoadResource();

		case E_TYPE::FRIENDSHIP_BOX:
			return _friendshipResource->LoadResource();

//		case E_TYPE::POINT_BUFF:
//			return _pointBuffResource->LoadResource();

		case E_TYPE::DAILY_REWARD:
			return _dailyRewardResource->LoadResource();

		case E_TYPE::PET_REWARD:
			return _petRewardResource->LoadResource();

		case E_TYPE::EVENT_TIME:
			return _eventTimeResource->LoadResource();

		case E_TYPE::ITEM_REFINE:
			return _itemRefineResource->LoadResource();

		case E_TYPE::ITEM:
			return _itemResource->LoadResource();

		case E_TYPE::MATCHING:
			return _matchingResource->LoadResource();

		case E_TYPE::MESSAGE:
			return _messageResource->LoadResource();

		case E_TYPE::DUNGEON_EVENT:
			return _dungeonEventResource->LoadResource();

		case E_TYPE::AI_VARIATION:
			return _aiVariationResource->LoadResource();

		case E_TYPE::VC_REF:
			return _vcResource->LoadResource();

		case E_TYPE::PRODUCT:
			return _productResource->LoadResource();

		case E_TYPE::CHARGE_ITEM:
			return _chargeItemResource->LoadResource();

		case E_TYPE::FAIRY:
			return _fairyResource->LoadResource();

		case E_TYPE::BATTLE_PET_GACHYA:
			return _battlepetGachyaResource->LoadResource();

		case E_TYPE::BATTLE_PET:
			return _battlepetResource->LoadResource();

		case E_TYPE::DUNGEON_REWARD:
			return _dungeonRewardResource->LoadResource();

		case E_TYPE::PVP_REWARD:
			return _pvpRewardResource->LoadResource();

		case E_TYPE::POINT_RESOURCE:
			return _pointResource->LoadResource();

		case E_TYPE::ITEM_EVOLUTION:
			return _itemEvolutionResource->LoadResource();

		case E_TYPE::DUMMY_USER:
			return _dummyUserResource->LoadResource();

		case E_TYPE::CIRCLE:
			return _circle->LoadResource();

		case E_TYPE::AVATAR_ABLITY:
			return _avatarResource->LoadResource();

		case E_TYPE::LEVELUP_REWARD:
			return _levelupResource->LoadResource();

		case E_TYPE::MAIL_MESSAGE:
			return _mailMessageResource->LoadResource();

		case E_TYPE::VERSION_RESOURCE:
			return _versionResource->LoadResource();

		case E_TYPE::WEATHER_RESOURCE:
			return _weatherResource->LoadResource();

		case E_TYPE::EXCEPTION_MESSAGE:
			return _exceptionMessage->LoadResource();

		case E_TYPE::ALLOW_USER_RESOURCE:
			return _allowUserResource->LoadResource();

		case E_TYPE::CONNECT_EVENT:
			return _connectEventResource->LoadResource();

		case E_TYPE::WORLDBOSS:
			return _pWorldBoss->LoadResource();

		case E_TYPE::WORLDBOSSREWARD:
			return _pWorldBossReward->LoadResource();

		case E_TYPE::BUFF_TIME:
			return _buffTimeResource->LoadResource();

		case E_TYPE::DLC:
			return _pDLC->LoadResource();

		case E_TYPE::BATTLE_MATCHING:
			return _battleMatchingResource->LoadResource();

		case E_TYPE::STAMINA_RESOURCE:
			return _staminaResource->LoadResource();
			
		case E_TYPE::MAX_GAIN_GOLD_RESOURCE:
			return _pMaxGainGoldResource->LoadResource();

		case E_TYPE::MONSTER_RESOURCE:
			return _pMonsterResource->LoadResource();

		case E_TYPE::ULTIMATE_EVOLUTION_RESOURCE:
			return _pUltimateResource->LoadResource();

		case E_TYPE::ULTIMATE_EVOLUTION_RATE_RESOURCE:
			return _pUltimateRateResource->LoadResource();

		case E_TYPE::FAIRY_REBIRTH_QUALITY_RESOURCE:
			return _pRebirthQualityResource->LoadResource();

		case E_TYPE::DUNGEONENTERLIMITLEVEL:
			return _pDungeonEnterLimitLevel->LoadResource();

		case E_TYPE::PACKAGE_ITEM_RESOURCE:
			return _pPackageItemResource->LoadResource();
			
		case E_TYPE::UPSTONE_GACHYA_RESOURCE:
			return _pUpStoneGachyaResource->LoadResource();

		case E_TYPE::ITEM_ROUTING_TYPE_RESOURCE:
			return _pItemRoutingTypeResource->LoadResource();

		case E_TYPE::ITEM_ROUTING_VALUE_RESOURCE:
			return _pItemRoutingValueResource->LoadResource();

		case E_TYPE::ITEM_ROUTING_RATE_RESOURCE:
			return _pItemRoutingRateResource->LoadResource();

		case E_TYPE::UPSTONE_COMBINE_RESOURCE:
			return _pUpStoneCombineResource->LoadResource();

		case E_TYPE::MONTH_CHARGING_EVENT_RESOURCE:
			return _pMonthChargingResource->LoadResource();

		case E_TYPE::VIP_RESOURCE:
			return _pVIPResource->LoadResource();

		case E_TYPE::LEVELUP_EXP_RESOURCE:
			return _pLevelupExpResource->LoadResource();

		case E_TYPE::CONTENTSOPENRESOURCE:
			return _pContentsOpenResource->LoadResource();

		case E_TYPE::MAGIC_REFINE_RESOURCE:
			return _pItemMagicRefineResource->LoadResource();

		case E_TYPE::DAILY_MISSION_RESOURCE:
			return _pDailyMissionResource->LoadResource();

		case E_TYPE::SETITEM_RESOURCE:
			return _pSetItemResource->LoadResource();

		case E_TYPE::FAIRY_COMBINE_RESOURCE:
			return _pFairyCombineResource->LoadResource();

		case E_TYPE::FAIRY_EVOLUTION_RATE_RESOURCE:
			return _pFairyEvolutionRateResource->LoadResource();

		case E_TYPE::PVP_PK_BUFF_POSITION_RESOURCE:
			return _pPvpPkBuffPositionResource->LoadResource();

		default:
			return false;
		}

		return bResult;
	}

public:
	StringMatch 					* GetStringMatch() { return _stringMatch; }
	QuestResource 					* GetQuest() { return _questResource; }
	DungeonResource					* GetDungeon() { return _dungeonResource; }
	BalanceResource					* GetBalance() { return _balanceResource; }
	ValidResource 					* GetValid() { return _validResource; }
	CommonResource 					* GetCommon() {return _commonResource; }
	WeeklyRewardResource 			* GetWeeklyReward() { return _weeklyRewardResource; }
//	FriendRewardResource * GetFriendReward() { return _friendRewardResource; }
	SocialRewardResource 			* GetSocialReward() { return _socialRewardResource; }
	FriendshipBoxResource 			* GetFriendshipBox() { return _friendshipResource; }
//	PointBuffResource * GetPointBuff() { return _pointBuffResource; }
	DailyRewardResource				* GetDailyReward() { return _dailyRewardResource; }
	PetRewardResource 				* GetPetReward() { return _petRewardResource; }
	EventTimeResource 				* GetEventTime() { return _eventTimeResource; }
	ItemRefineResource				* GetItemRefine() { return _itemRefineResource; }
	ItemResource 					* GetItemResource() { return _itemResource; }
	MatchingResource 				* GetMatching() { return _matchingResource; }
	MessageResource 				* GetMessageResource() { return _messageResource; }
	DungeonEventResource 			* GetDungeonEvent() { return _dungeonEventResource; }
	AIVariationResource 			* GetAIVariation() { return _aiVariationResource; }
	VCResource 						* GetVCRef() { return _vcResource; }
	ProductResource 				* GetProductResource() { return _productResource; }
	ChargeItemResource 				* GetChargeItem() { return _chargeItemResource; }
	FairyGachyaResource 			* GetFairyGachya() { return _fairyResource; }
	BattlePetGachyaResource			* GetBattlepetGachya() { return _battlepetGachyaResource; }
	BattlePetResource 				* GetBattlepetResource() { return _battlepetResource; }
	DungeonRewardResource 			* GetDungeonReward() { return _dungeonRewardResource; }
	PVPRewardResource 				* GetPVPReward() { return _pvpRewardResource; }
	PointResource 					* GetPointResource() { return _pointResource; }
	ItemEvolutionResource 			* GetItemEvolution() { return _itemEvolutionResource; }
	DummyUserResource 				* GetDummyUserResource() { return _dummyUserResource; }
	Circle							* GetCircle() { return _circle; }
	AvatarAblityResource 			* GetAvatarAblityResource() { return _avatarResource; }
	LevelupRewardResource			* GetLevelupResource() { return _levelupResource; }
	MailMessageResource 			* GetMailMessageResource() { return _mailMessageResource; }
	VersionResource					* GetVersionResource() { return _versionResource; }
	WeatherResource					* GetWeatherResource() { return _weatherResource; }
	ExceptionMessage				* GetExceptionMessage() { return _exceptionMessage; }
	AllowUserResource				* GetAllowUserResource() { return _allowUserResource; }
	ConnectEventResource			* GetConnectEventResource() { return _connectEventResource; }
	WorldBoss						* GetWorldBossResource() { return _pWorldBoss; }
	WorldBossReward					* GetWorldBossRewardResource() { return _pWorldBossReward; }
	BuffTimeResource				* GetBuffTimeResource() { return _buffTimeResource; }
	DLC 							* GetDLCResource() { return _pDLC; }
	BattleMatchingResource			* GetBattleMatchingResource() { return _battleMatchingResource; }
	StaminaResource					* GetStaminaResource() { return _staminaResource; }
	MaxGainGoldResource 			* GetMaxGainGoldResource() { return _pMaxGainGoldResource; }
	MonsterResource					* GetMonsterResource() { return _pMonsterResource; }
	UltimateEvolutionResource		* GetUltimateResource() { return _pUltimateResource; }
	UltimateEvolutionRateResource	* GetUltimateRateResource() { return _pUltimateRateResource; }
	FairyRebirthQualityResource		* GetRebirthQualityResource() { return _pRebirthQualityResource; }
	DungeonEnterLimitLevel			* GetDungeonEnterLimitLevel() { return _pDungeonEnterLimitLevel; }
	PackageItemResource				* GetPackageItemResource() { return _pPackageItemResource; }
	UpStoneGachyaResource			* GetUpStoneGachyaResource() { return _pUpStoneGachyaResource; }
	ItemRoutingTypeResource			* GetItemRoutingTypeResource() { return _pItemRoutingTypeResource; }
	ItemRoutingValueResource		* GetItemRoutingValueResource() { return _pItemRoutingValueResource; }
	ItemRoutingRateResource			* GetItemRoutingRateResource() { return _pItemRoutingRateResource; }
	VIPResource						* GetVIPResource() { return _pVIPResource; }
	UpStoneCombineResource			* GetUpStoneCombineResource() { return _pUpStoneCombineResource; }
	MonthChargingEventResource		* GetMonthChargingResource() { return _pMonthChargingResource; }
	LevelupExpResource				* GetLevelUpExpResource() { return _pLevelupExpResource; }
	ContentsOpenResource			* GetContentsOpenResource() { return _pContentsOpenResource; }
	ItemMagicRefineResource			* GetMagicRefineResource() { return _pItemMagicRefineResource; }
	DailyMissionResource			* GetDailyMissionResource() { return _pDailyMissionResource; }
	SetItemResource					* GetSetItemResource() { return _pSetItemResource; }
	FairyCombineResource			* GetFairyCombineResource() { return _pFairyCombineResource; }
	FairyEvolutionRateResource		* GetFairyEvolutionRateResource() { return _pFairyEvolutionRateResource; }
	PvpPkBuffPositionResource		* GetPvpPkBuffPositionResource() { return _pPvpPkBuffPositionResource; }

private:
	StringMatch 					* _stringMatch;
	QuestResource 					* _questResource;
	DungeonResource					* _dungeonResource;
	BalanceResource					* _balanceResource;
	ValidResource 					* _validResource;
	CommonResource 					* _commonResource;
	WeeklyRewardResource			* _weeklyRewardResource;
//	FriendRewardResource * _friendRewardResource;
	SocialRewardResource			* _socialRewardResource;
	FriendshipBoxResource			* _friendshipResource;
//	PointBuffResource * _pointBuffResource;
	DailyRewardResource				* _dailyRewardResource;
	PetRewardResource				* _petRewardResource;
	EventTimeResource				* _eventTimeResource;
	ItemRefineResource				* _itemRefineResource;
	ItemResource					* _itemResource;
	MatchingResource				* _matchingResource;
	MessageResource 				* _messageResource;
	DungeonEventResource			* _dungeonEventResource;
	AIVariationResource				* _aiVariationResource;
	VCResource						* _vcResource;
	ProductResource					* _productResource;
	ChargeItemResource				* _chargeItemResource;
	FairyGachyaResource				* _fairyResource;
	BattlePetGachyaResource			* _battlepetGachyaResource;
	BattlePetResource				* _battlepetResource;
	DungeonRewardResource			* _dungeonRewardResource;
	PVPRewardResource				* _pvpRewardResource;
	PointResource					* _pointResource;
	ItemEvolutionResource			* _itemEvolutionResource;
	DummyUserResource				* _dummyUserResource;
	Circle							* _circle;
	AvatarAblityResource			* _avatarResource;
	LevelupRewardResource			* _levelupResource;
	MailMessageResource				* _mailMessageResource;
	VersionResource					* _versionResource;
	WeatherResource					* _weatherResource;
	ExceptionMessage 				* _exceptionMessage;
	AllowUserResource				* _allowUserResource;
	ConnectEventResource			* _connectEventResource;
	WorldBoss						* _pWorldBoss;
	WorldBossReward					* _pWorldBossReward;
	BuffTimeResource				* _buffTimeResource;
	DLC								* _pDLC;
	BattleMatchingResource			* _battleMatchingResource;
	StaminaResource					* _staminaResource;
	MaxGainGoldResource 			* _pMaxGainGoldResource;
	MonsterResource					* _pMonsterResource;
	UltimateEvolutionResource		* _pUltimateResource;
	UltimateEvolutionRateResource	* _pUltimateRateResource;
	FairyRebirthQualityResource		* _pRebirthQualityResource;
	DungeonEnterLimitLevel			* _pDungeonEnterLimitLevel;
	PackageItemResource				* _pPackageItemResource;
	UpStoneGachyaResource			* _pUpStoneGachyaResource;
	ItemRoutingTypeResource			* _pItemRoutingTypeResource;
	ItemRoutingValueResource		* _pItemRoutingValueResource;
	ItemRoutingRateResource			* _pItemRoutingRateResource;
	VIPResource						* _pVIPResource;
	UpStoneCombineResource			* _pUpStoneCombineResource;
	MonthChargingEventResource		* _pMonthChargingResource;
	LevelupExpResource				* _pLevelupExpResource;
	ContentsOpenResource 			* _pContentsOpenResource;
	ItemMagicRefineResource			* _pItemMagicRefineResource;
	DailyMissionResource			* _pDailyMissionResource;
	SetItemResource					* _pSetItemResource;
	FairyCombineResource			* _pFairyCombineResource;
	FairyEvolutionRateResource		* _pFairyEvolutionRateResource;
	PvpPkBuffPositionResource		* _pPvpPkBuffPositionResource;
};

} /*NResource*/ } /* namespace ProjectZ */

#endif /* PROJECTZ_NRESOURCE_ */
